<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<title>Symbian/S60 Camera Wrapper Library: cameraengineobserver.h Source File</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javaScript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css"/>
</head>
<body onload='searchBox.OnSelectItem(0);'>
<!-- Generated by Doxygen 1.7.1 -->
<script type="text/javascript"><!--
var searchBox = new SearchBox("searchBox", "search",false,'Search');
--></script>
<div class="navigation" id="top">
  <div class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&nbsp;Page</span></a></li>
      <li><a href="pages.html"><span>Related&nbsp;Pages</span></a></li>
      <li><a href="annotated.html"><span>Classes</span></a></li>
      <li class="current"><a href="files.html"><span>Files</span></a></li>
      <li id="searchli">
        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="Search" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
          </span>
        </div>
      </li>
    </ul>
  </div>
  <div class="tabs2">
    <ul class="tablist">
      <li><a href="files.html"><span>File&nbsp;List</span></a></li>
      <li><a href="globals.html"><span>File&nbsp;Members</span></a></li>
    </ul>
  </div>
<div class="header">
  <div class="headertitle">
<h1>cameraengineobserver.h</h1>  </div>
</div>
<div class="contents">
<a href="cameraengineobserver_8h.html">Go to the documentation of this file.</a><div class="fragment"><pre class="fragment"><a name="l00001"></a>00001 <span class="comment">/*</span>
<a name="l00002"></a>00002 <span class="comment">* ============================================================================</span>
<a name="l00003"></a>00003 <span class="comment">*  Name        : cameraengineobserver.h</span>
<a name="l00004"></a>00004 <span class="comment">*  Part of     : Symbian/S60 Camera Wrapper</span>
<a name="l00005"></a>00005 <span class="comment">*  Description : Observer interface for camera engine</span>
<a name="l00006"></a>00006 <span class="comment">*  Version     : %version: 1 %</span>
<a name="l00007"></a>00007 <span class="comment">*</span>
<a name="l00008"></a>00008 <span class="comment">* This program is free software. It comes without any warranty, to</span>
<a name="l00009"></a>00009 <span class="comment">* the extent permitted by applicable law. You can redistribute it</span>
<a name="l00010"></a>00010 <span class="comment">* and/or modify it under the terms of the Do What The Fuck You Want</span>
<a name="l00011"></a>00011 <span class="comment">* To Public License, Version 2, as published by Sam Hocevar. See</span>
<a name="l00012"></a>00012 <span class="comment">* http://sam.zoy.org/wtfpl/COPYING for more details.</span>
<a name="l00013"></a>00013 <span class="comment">*</span>
<a name="l00014"></a>00014 <span class="comment">* You are welcome to, but not required to, contribute any modifications that</span>
<a name="l00015"></a>00015 <span class="comment">* improve stability, usability and/or feature set of the library back to</span>
<a name="l00016"></a>00016 <span class="comment">* Symbian/S60 Camera Wrapper project, as long as binary compatibility is</span>
<a name="l00017"></a>00017 <span class="comment">* retained. See https://projects.forum.nokia.com/camerawrapper for more info.</span>
<a name="l00018"></a>00018 <span class="comment">* ============================================================================</span>
<a name="l00019"></a>00019 <span class="comment">*/</span>
<a name="l00020"></a>00020 
<a name="l00023"></a>00023 <span class="preprocessor">#ifndef __CCAMERAENGINEOBSERVER_H__</span>
<a name="l00024"></a>00024 <span class="preprocessor"></span><span class="preprocessor">#define __CCAMERAENGINEOBSERVER_H__</span>
<a name="l00025"></a>00025 <span class="preprocessor"></span>
<a name="l00026"></a>00026 <span class="comment">// FORWARD DECLARATIONS</span>
<a name="l00027"></a>00027 <span class="keyword">class </span>CFbsBitmap;
<a name="l00028"></a>00028 <span class="keyword">class </span>TECAMEvent;
<a name="l00029"></a>00029 
<a name="l00034"></a><a class="code" href="cameraengineobserver_8h.html#ad5a808436e09c24968c2e22e9d5be81e">00034</a> <span class="keyword">enum</span> <a class="code" href="cameraengineobserver_8h.html#ad5a808436e09c24968c2e22e9d5be81e" title="Enumeration for camera engine error categories.">TCameraEngineError</a>
<a name="l00035"></a>00035   {
<a name="l00036"></a>00036   EErrReserve,
<a name="l00037"></a>00037   EErrPowerOn,
<a name="l00038"></a>00038   EErrViewFinderReady,
<a name="l00039"></a>00039   EErrImageReady,
<a name="l00040"></a>00040   EErrAutoFocusInit,
<a name="l00041"></a>00041   EErrAutoFocusMode,
<a name="l00042"></a>00042   EErrAutoFocusArea,
<a name="l00043"></a>00043   EErrAutoFocusRange,
<a name="l00044"></a>00044   EErrAutoFocusType,
<a name="l00045"></a>00045   EErrOptimisedFocusComplete,  
<a name="l00046"></a>00046   };
<a name="l00047"></a>00047   
<a name="l00051"></a><a class="code" href="class_m_camera_engine_observer.html">00051</a> <span class="keyword">class </span><a class="code" href="class_m_camera_engine_observer.html" title="Camera engine observer interface (pure virtual).">MCameraEngineObserver</a>
<a name="l00052"></a>00052   {
<a name="l00053"></a>00053 <span class="keyword">public</span>:
<a name="l00054"></a>00054 
<a name="l00058"></a>00058   <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="class_m_camera_engine_observer.html#ad9928e95941a8a9ec0d2126a3bd6f33b">MceoCameraReady</a>() = 0;
<a name="l00059"></a>00059   
<a name="l00063"></a>00063   <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="class_m_camera_engine_observer.html#a9c24d9333a9601d25b8c02325ac8add2">MceoFocusComplete</a>() = 0;
<a name="l00064"></a>00064   
<a name="l00070"></a>00070   <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="class_m_camera_engine_observer.html#a65b3035a1bf79540b1cb3c612baecd2b">MceoCapturedDataReady</a>( TDesC8* aData ) = 0;
<a name="l00071"></a>00071   
<a name="l00078"></a>00078   <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="class_m_camera_engine_observer.html#aa3ec47bdc8f92a37b99f876d729d3f38">MceoCapturedBitmapReady</a>( CFbsBitmap* aBitmap ) = 0;
<a name="l00079"></a>00079   
<a name="l00087"></a>00087   <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="class_m_camera_engine_observer.html#af12936450470d093b555deca3546e13a">MceoViewFinderFrameReady</a>( CFbsBitmap&amp; aFrame ) = 0;
<a name="l00088"></a>00088   
<a name="l00095"></a>00095   <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="class_m_camera_engine_observer.html#a453a5994680f5a598368ffd1ba87c895">MceoHandleError</a>( <a class="code" href="cameraengineobserver_8h.html#ad5a808436e09c24968c2e22e9d5be81e" title="Enumeration for camera engine error categories.">TCameraEngineError</a> aErrorType, TInt aError ) = 0;
<a name="l00096"></a>00096 
<a name="l00103"></a><a class="code" href="class_m_camera_engine_observer.html#ab1ba67bb5887a62ad616bc0ade25744e">00103</a>   <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="class_m_camera_engine_observer.html#ab1ba67bb5887a62ad616bc0ade25744e">MceoHandleOtherEvent</a>( <span class="keyword">const</span> TECAMEvent&amp; aEvent ) {}
<a name="l00104"></a>00104   };
<a name="l00105"></a>00105 
<a name="l00106"></a>00106 <span class="preprocessor">#endif // __CCAMERAENGINEOBSERVER_H__</span>
<a name="l00107"></a>00107 <span class="preprocessor"></span>
<a name="l00108"></a>00108 <span class="comment">// eof</span>
</pre></div></div>
</div>
<!--- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark">&nbsp;</span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark">&nbsp;</span>Classes</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark">&nbsp;</span>Files</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark">&nbsp;</span>Functions</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark">&nbsp;</span>Enumerations</a></div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<hr class="footer"/><address class="footer"><small>Generated on Sat Sep 11 2010 22:34:42 for Symbian/S60 Camera Wrapper Library by&nbsp;
<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.7.1 </small></address>
</body>
</html>
